package org.alex.samples.service;

import java.io.InputStream;
import java.util.List;

import org.alex.samples.model.ExamSubjectVO;
import org.alex.samples.model.ExamUserRoleVO;
import org.alex.samples.model.ExamUserVO;
import org.alex.samples.model.UserJDBC;

public interface IUserJdbcService {
	public List<UserJDBC> findAllUserJdbcs();
	
	public void createUserJdbc(UserJDBC userJDBC) throws Exception;
	
	public void deleteUserJdbc(String userId) throws Exception;
	
	public void editUserJdbc(UserJDBC userJDBC) throws Exception;
	
	public UserJDBC getUserJdbcById(String userId);
	
	public ExamUserVO getUserJdbcById1(String userId);
	
	public ExamUserRoleVO getExamUserRole(String string);

	public void updateUserLoginFailCount(ExamUserVO resultVO);

	public void updateUserLastLockTime(ExamUserVO resultVO);

	public void saveStudentByExcel(InputStream inputStream, String postfix);

	public List<ExamSubjectVO> getAllSubject();

	public List<String> getAllSubjectByUser(String userId);

	public void saveStudentSubject(List<String> list, String userId);



}
